package com.common.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author lzl
 * @since 2022-09-09
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("qd_zone_goods")
@ApiModel(value = "ZoneGoods对象", description = "")
public class ZoneGoods implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("创建时间")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime gmtCreate;

    @ApiModelProperty("修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime gmtModified;

    @ApiModelProperty("状态(1:正常;0:禁用)")
    private Integer isDisable;

    private Integer isDeleted;

    @ApiModelProperty("专区编号")
    private String zoneId;

    @ApiModelProperty("商品ID")
    private String goodsId;

    @TableField(exist = false)
    private String gname;

    @TableField("goods_shopid")
    private String goodsShopId;

}
